package com.zwps.biz.domain.enums;

import com.zwps.common.tool.enums.InterfaceEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**@Description:
 * @param
 * @return
 * @author shanwen
 * @date 2023/8/23
 */
@Getter
@AllArgsConstructor
public enum LoginMissTypeEnum implements InterfaceEnum<Integer> {
    // 拥有系统所有菜单权限
    By_PASSWORD(1, "账号密码登录"),BY_PHONE(2, "手机号验证码登录");

    /**
     * 编码
     */
    private Integer code;

    /**
     * 名称
     */
    private String name;

    @Override
    public String getTypeName() {
        return "用户错误登录类型";
    }
}
